#ifndef BINARYNODE_H
#define BINARYNODE_H

#include <memory>
#include "Node.h"

namespace CExpression
{
class BinaryNode abstract:public Node
{
public:
	BinaryNode(std::shared_ptr<Node> l,std::shared_ptr<Node> r):Node(),left(l),right(r){}
protected:
	std::shared_ptr<Node> left;
	std::shared_ptr<Node> right;
};
}

#endif